<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
      // 警告框
      alert("你好");
      // 对话框
      let s = prompt("请输入你喜欢的女人");
      alert(s);
      // 确认框 ★★★
      let b = confirm("您确定删除吗？");
      alert(b);
    </script>
</head>
<body>

</body>
</html>